home *** CD-ROM | disk | FTP | other *** search
/ PC Zone 96 / PC Zone #096.7z / Dppcz1200.mdf / Demos / Gunlok / data1.cab / Program_Executable_Files / scripts / pulsox.gsh < prev    next >
Text File  |  2000-09-09  |  2KB  |  106 lines

  1. // defines the pulsox Turret
  2. ////////////////////////////////////////////////////////////////////////////////////
  3.  
  4. // start wrapper - prevent multiple inclusions or recursive inclusions
  5.  
  6. //(this currently causes 'unrecognized preprocessor directive' warnings, until implemented)
  7. #ifndef INCLUDED_pulsox_GSH
  8. #define INCLUDED_pulsox_GSH
  9.  
  10. #include "defaults.gsh"
  11. #include "pulsoxfrag.gsh"
  12.  
  13. ////////////////////////////////////////////////////////////////////////////////////
  14.  
  15. hierarchy Hcy_pulsox
  16. {
  17.     file "units\pulsox.RIF"
  18.     name "pulsox"
  19.     hotspot "Dum Flash"
  20. }
  21.  
  22. hierarchy Hcy_Pulsox_Shadow
  23. {
  24.     file "units\pulsox vlow.RIF"
  25.     name "Pulsox vlow"
  26.     hotspot "dum flash"
  27. }
  28.  
  29. character Chr_pulsox : Chr_DefaultBaddie
  30. {
  31.     turning speed   0.5
  32.     walking speed   0    // doesn't move
  33.     weapon            plasmatrix
  34.     strength        20
  35.     aim                0    // spot on!
  36.     height            0.6    // for targeting purposes
  37.     sight angle        60    // in degrees
  38.     sight range        20    // in metres
  39.     hearing range        0    // in metres
  40.     aggression        1    // from 0 to 1
  41.     shadow hierarchy    Hcy_Pulsox_Shadow
  42.     gun yaw angle    90    // in degrees
  43.     elevation angle 20    // in degrees
  44.     can turn        no
  45.     vision cone        no
  46.     always cpu controlled yes
  47. }
  48.  
  49. character Chr_mini_pulsox : Chr_DefaultBaddie
  50. {
  51.     turning speed   0.5
  52.     walking speed   0    // doesn't move
  53.     weapon            plasma pistol
  54.     strength        20
  55.     aim                0    // spot on!
  56.     height            0.6    // for targeting purposes
  57.     sight angle        60    // in degrees
  58.     sight range        25    // in metres
  59.     hearing range        0    // in metres
  60.     aggression        1    // from 0 to 1
  61.     shadow hierarchy    Hcy_Pulsox_Shadow
  62.     gun yaw angle    90    // in degrees
  63.     elevation angle 20    // in degrees
  64.     can turn        no
  65.     size 0.7
  66.     vision cone        no
  67.     always cpu controlled yes
  68. }
  69.  
  70. // smoke trail from the barrel when firing
  71. pgenerator Pgn_pulsox
  72. {
  73.     type fire
  74.     life infinite
  75.     rate 4
  76.     // stream direction
  77.     x 0 y 0 z 0
  78.     // particle colour
  79.     red 0.1 green 0.1 blue 0.1 alpha 0.7
  80. }
  81.  
  82. role Rol_pulsox : Rol_DefaultRobot
  83. {
  84.     pgen            Pgn_pulsox
  85.     shape            Hcy_pulsox
  86.     character        Chr_pulsox
  87.     armour             2
  88.     ai                popup
  89.     identifier        "pulsox"
  90.     destructibility        Frg_pulsox
  91. }
  92.  
  93. role Rol_mini_pulsox : Rol_DefaultRobot
  94. {
  95.     pgen            Pgn_pulsox
  96.     shape            Hcy_pulsox
  97.     character        Chr_mini_pulsox
  98.     armour             0
  99.     ai            popup
  100.     identifier        "mini_pulsox"
  101.     destructibility     Des_Explode
  102. }
  103. ////////////////////////////////////////////////////////////////////////////////////
  104.  
  105. // end wrapper - for preventing multiple or recursive inclusions
  106. #endif // !INCLUDED_pulsox_GSH